Home > Overview price-distribution card (catalogue histogram)
Returns the active catalogue as a fixed 7-band price histogram, plus the catalogue size and default currency. Prices come from variant_countries.price for the company’s default country (products.price is essentially empty on real tenants).
curl --request GET \
--url https://api.fluid.app/api/v202604/analytics/dashboard/price_distribution \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fluid.app/api/v202604/analytics/dashboard/price_distribution"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fluid.app/api/v202604/analytics/dashboard/price_distribution', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.fluid.app/api/v202604/analytics/dashboard/price_distribution",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.fluid.app/api/v202604/analytics/dashboard/price_distribution"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.fluid.app/api/v202604/analytics/dashboard/price_distribution")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/v202604/analytics/dashboard/price_distribution")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"buckets": [
{
"label": "Under $10",
"min": "0.0",
"max": "10.0",
"count": 4,
"share": "0.0769"
},
{
"label": "$10–25",
"min": "10.0",
"max": "25.0",
"count": 11,
"share": "0.2115"
},
{
"label": "$25–50",
"min": "25.0",
"max": "50.0",
"count": 17,
"share": "0.3269"
},
{
"label": "$50–100",
"min": "50.0",
"max": "100.0",
"count": 12,
"share": "0.2308"
},
{
"label": "$100–250",
"min": "100.0",
"max": "250.0",
"count": 5,
"share": "0.0962"
},
{
"label": "$250–500",
"min": "250.0",
"max": "500.0",
"count": 2,
"share": "0.0385"
},
{
"label": "$500+",
"min": "500.0",
"max": null,
"count": 1,
"share": "0.0192"
}
],
"catalogue_size": 52,
"median_price": "42.0",
"currency": "USD",
"meta": {
"request_uuid": "d81f6a2c-5b09-4e73-a4c8-9f2e03b7d6e1",
"timestamp": "2026-09-10T15:42:07Z"
}
}{
"error": {
"message": "<string>",
"details": {}
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z",
"request_id": "<string>",
"request_uuid": "<string>"
}
}{
"message": "<string>"
}{
"message": "<string>",
"error": "<string>"
}{
"error": {
"message": "<string>",
"details": {}
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z",
"request_id": "<string>",
"request_uuid": "<string>"
}
}Authorizations
Query Parameters
ISO alpha-2 code of one of the requesting company's configured
countries (see GET /countries). When present, every service
on this endpoint filters its data to that country and reports
money in the country's own currency. Omit (or send "all")
for the aggregate-across-countries view, which is the default
and matches pre-Phase-004 behavior. Unknown ISO codes or ones
the company is not configured for return 400.
"US"
Response
Price-distribution card payload
Active-catalogue price histogram on the company's default country. Products without a default-country variant drop out — they aren't sellable in the operator's home market and would otherwise inflate the low band.
Decimal amount, expressed as a string to preserve arbitrary
precision across the wire. Parsed to Number on the client and
formatted with Intl.NumberFormat. Once the in-flight
money-cents-migration lands, this will switch to a
{ amount_cents: integer, currency: string } object.
"180.25"
curl --request GET \
--url https://api.fluid.app/api/v202604/analytics/dashboard/price_distribution \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fluid.app/api/v202604/analytics/dashboard/price_distribution"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fluid.app/api/v202604/analytics/dashboard/price_distribution', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.fluid.app/api/v202604/analytics/dashboard/price_distribution",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.fluid.app/api/v202604/analytics/dashboard/price_distribution"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.fluid.app/api/v202604/analytics/dashboard/price_distribution")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/v202604/analytics/dashboard/price_distribution")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"buckets": [
{
"label": "Under $10",
"min": "0.0",
"max": "10.0",
"count": 4,
"share": "0.0769"
},
{
"label": "$10–25",
"min": "10.0",
"max": "25.0",
"count": 11,
"share": "0.2115"
},
{
"label": "$25–50",
"min": "25.0",
"max": "50.0",
"count": 17,
"share": "0.3269"
},
{
"label": "$50–100",
"min": "50.0",
"max": "100.0",
"count": 12,
"share": "0.2308"
},
{
"label": "$100–250",
"min": "100.0",
"max": "250.0",
"count": 5,
"share": "0.0962"
},
{
"label": "$250–500",
"min": "250.0",
"max": "500.0",
"count": 2,
"share": "0.0385"
},
{
"label": "$500+",
"min": "500.0",
"max": null,
"count": 1,
"share": "0.0192"
}
],
"catalogue_size": 52,
"median_price": "42.0",
"currency": "USD",
"meta": {
"request_uuid": "d81f6a2c-5b09-4e73-a4c8-9f2e03b7d6e1",
"timestamp": "2026-09-10T15:42:07Z"
}
}{
"error": {
"message": "<string>",
"details": {}
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z",
"request_id": "<string>",
"request_uuid": "<string>"
}
}{
"message": "<string>"
}{
"message": "<string>",
"error": "<string>"
}{
"error": {
"message": "<string>",
"details": {}
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z",
"request_id": "<string>",
"request_uuid": "<string>"
}
}